package cn.msn.user.mapper;

import cn.msn.user.domain.User;
import cn.msn.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-08-22
 */
public interface UserMapper extends BaseMapper<User> {

    // 手机
    User loadByPhone(String phone);
    // 邮箱
    User loadByEmail(String email);

    User loadByLogininfoId(Long id);
}
